import { defineEventHandler } from 'h3'
import { sqlConnection } from '~/server/utils/mysql.util'
export default defineEventHandler(async () => {
    const [rows, fiedls] = await sqlConnection().execute('select * from hsxy_dictionary')
    return rows
})